home *** CD-ROM | disk | FTP | other *** search
- Path: ub239.dialup.uwa.edu.au!localhost!prye
- From: prye@cyllene.uwa.edu.au (Peter Rye)
- Newsgroups: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
- Subject: Re: Young programmers read me.
- Date: 08 Apr 1996 05:38:08 GMT
- Organization: The University of Western Australia
- Message-ID: <PRYE.96Apr8133808@cyllene.uwa.edu.au>
- References: <4icpp9$7hr@barad-dur.nas.com> <4imqe4$cj3@ping1.ping.be>
- <1996Mar23.224853.116513@kuhub.cc.ukans.edu> <4j52hn$ikb@news.ios.com>
- <Pine.OSF.3.91.960403112207.17337H-100000@bud.cc.swin.edu.au>
- <aidan-0404961557290001@meathook.intac.com>
- <pnoguchi-0404962135210001@pnoguchi.his.com>
- <aidan-0604961847480001@meathook.intac.com> <4k93rk$9lq@nw002.infi.net>
- NNTP-Posting-Host: ub239.dialup.uwa.edu.au
- In-reply-to: klaws@norfolk.infi.net's message of Sun, 07 Apr 1996 19:11:13 GMT
- X-Mailer: GNU Emacs 19.28
-
- >>>>> "KlawS" == KlawS <klaws@norfolk.infi.net> writes:
-
- KlawS> aidan@genghis.kublai.com (Aidan Cully) wrote:
-
- >> typedef (int*)(int a, int b) MyFuncType;
- >> MyFuncType MyFunc;
-
- >> in Oberon
- >> TYPE MyFuncType:FUNCTION( a, b:INTEGER ):INTEGER;
- >> VAR
- >> MyFunc:MyFuncType;
-
- >> Which do you think looks more readable?
-
- KlawS> To me, the former does. *shrug* I guess that's what happens
- KlawS> when you skip pascal in the "learning trend"... (It's
- KlawS> already a rather ambiguous command, in either language)
-
- Readable, but a syntax error.
- You mean typedef int (*MyFuncType)(int, int);
- --
- Peter Rye prye@cyllene.uwa.edu.au, prye@ichr.uwa.edu.au
- Respiratory Research Fellow, Princess Margaret Hospital for Children
- Perth, Western Australia Ph: +61 (09) 340 8985, Fax: +61 (09) 388 2097
- ** Smoking areas in restaurants are like peeing areas in swimming pools. **
-